<template>
	<view><web-view :src="webUrl"></web-view></view>
</template>

<script>
export default {
	data() {
		return {
			webUrl: ''
		};
	},
	onLoad(query) {
		this.webUrl = `${this.httpUrl}/product_h5/#/noticeDetail?id=${query.id} `;
		console.log(this.webUrl)
	},
	computed: {
		httpUrl() {
			let url = process.env.NODE_ENV === 'development' ? 'http://test.v2.ybangy.net' : 'https://v2.ybangy.net';
			return url;
		}
	},
	methods: {}
};
</script>

<style></style>
